<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String basePath = request.getContextPath();
%>
<jsp:include page="extInclude.jsp" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />

		<style>
body {
	background: url(images/menuback.jpg) no-repeat bottom fixed;
}
.x-tree-node-expanded .x-tree-node-icon{
	background-image:url(images/folder-open.gif);
}

.x-tree-node-collapsed .x-tree-node-icon{
	background-image:url(images/folder1.gif);
}


.x-tree-node-el {
	border: 0 none;
	height: 20px;
	margin: 0;
	padding: 0;
	border-bottom: #CCC 1px dashed;
	vertical-align: sub;
	background-position: center;
	background-repeat: no-repeat;
	width: 180px;
	cursor: pointer;
}

.x-tree-node-leaf .x-tree-node-icon {
	background-image: url(images/dot01.jpg);
}
</style>
		<script language="javascript">
	Ext.onReady(function () {
	var panel = new Ext.Panel({
  	header:true,
  	region:'west',
  	//headerStyle:'width:182px; height:80px; background:url(./images/pic03.jpg); padding-left:30px;',
	border:false, 
	margins:"0 0 0 0",
	layout:"accordion",
	width:180, 
	height:window.screen.height-300,
	autoHeight:false,
	autoScroll:true,
	layoutConfig:{animate:true,autoScroll:true,fill:false}, 
	items:[${jsonString}]
	});
	var viewport = new Ext.Viewport({
                items:[panel]})
                ${treeString}
});

	</script>
	</head>
	<body>
		<table width="216" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td width="180" class="leftTop"></td>
			</tr>
			<tr>
				<td valign="top" class="leftBg">
					<div id="menu-tree"></div>
				</td>
			</tr>
			<tr>
				<td height="13" class="leftBottom"></td>
			</tr>
		</table>
	</body>
</html>


